Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
https://bugs.freedesktop.org/show_bug.cgi?id=93721
Bug ID: 93721
Summary: Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot
allocate memory for page table array
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
Created attachment 121052
--> https://bugs.freedesktop.org/attachment.cgi?id=121052&action=edit
dmesg showing mem fail
Been testing the latest agd5f drm-next-4.5 with powerplay=1.
Nothings changed from previously reported issues, uvd still breaks powerplay and it's self, lockups with uvd possible.
This particular boot I hadn't touched uvd or anything gl excepting glamor is always used.
Was testing/benching vce which was going OK (apart from previously reported issue with UHD content).
After I had finished testing I turned auto/down GPU/CPU which had been set high.
memclk stayed stuck high. I then tried glxgears just to see if it would change the clocks.
I got -
libGL error: failed to open drm device: Cannot allocate memory libGL error: failed to load driver: radeonsi
tried as user = same, tried glxinfo = same, did free =
total used free shared buff/cache available
Mem: 8139284 244600 340524 1519216 7554160 6314420 Swap: 4605948 0 4605948
Looks OK but as I had 1.5Gig in a ramdisk I deleted the file and then gl started working again - strange as I've done many tests with 6Gig in there and it just doesn't look like I was low on mem. Maybe you can see why from the memdumps in the dmesg.
I haven't been able to reproduce this.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93721
--- Comment #1 from Andy Furniss <[email protected]> ---
Should add I haven't tested VCE for a while - but it isn't the only "new" thing as I was using a net bridge at the time as well which I don't normally do so maybe that is relevant.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93721
--- Comment #2 from Andy Furniss <[email protected]> --- Created attachment 121053
--> https://bugs.freedesktop.org/attachment.cgi?id=121053&action=edit
mpv-vdpau-fail
Same boot and I still can't reproduce with opengl. I can run gears and unigine valley repeatedly OK, but I can still randomly trigger using vdpau.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93721
--- Comment #3 from Michel Dänzer <[email protected]> --- Created attachment 121055
--> https://bugs.freedesktop.org/attachment.cgi?id=121055&action=edit
drm/amdgpu: Use drm_calloc_large for VM page_tables array
Does this patch help?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93721
--- Comment #4 from Ernst Sjöstrand <[email protected]> ---
I think I also had a UVD related hang on Fiji with Powerplay when setting EnableLinuxHWVideoDecode = 1 in /etc/adobe/mms.cfg and watching flash video. Not sure if my Firefox settings affect the result, but I had 100% hang rate. Couldn't find any logs messages though.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93721
--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to Michel Dänzer from comment #3)
Quoted 4 lines
Created attachment 121055 [details] [review] drm/amdgpu: Use
drm_calloc_largefor VMpage_tablesarrayDoes this patch help?
Running now - OK so far, but then it took some time/luck to show up on unpatched.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93721
--- Comment #6 from Andy Furniss <[email protected]> --- (In reply to Ernst Sjöstrand from comment #4)
Quoted 4 lines
I think I also had a UVD related hang on Fiji with Powerplay when setting EnableLinuxHWVideoDecode = 1 in
/etc/adobe/mms.cfgand watching flash video. Not sure if my Firefox settings affect the result, but I had 100% hang rate. Couldn't find any logs messages though.
On older powerplays I could get a logless uvd lock up - not on current drm-next yet (it took many hours to provoke).
I can trigger a different one with mpv - to get logging you need to wait a few minutes before sysrq as the logging comes from the kernel hung task timeout.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93721
Michel D�nzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #7 from Michel D�nzer <[email protected]> --- Fixed in
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9571e1d84042f5670df9fabdcbe7dd5da3abe43e
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel